#include "head.h"
#include <asm-generic/errno.h>
#include <sys/epoll.h>

int add_to_epoll(int epoll_fd,int fd){

    struct epoll_event event;
    event.data.fd = fd;
    event.events = EPOLLIN;
    epoll_ctl(epoll_fd,EPOLL_CTL_ADD,fd,&event);

    return 0;
}









